Fix a wrong method name definition.