Fixed some outdated method names.