Fixed incorrect method names.