Fix for methods with parameters.