Registering correct number of required parameters for methods