Fixed the typo of a method name.