Fix a regressive issue for method name change.