Allow parameters for methods in classes