Fix incorrect method names.