Fix for invalid method call.