Fix a method name in the legacy class.