Fix incorrectly named class methods