Fixed typo in method definition