Obtaining the method for remote calls