Fixed typos in method definitions.