Fixed typo and method names