Make missing variable a local method.