Corrected bugs with method names.