Typos in method fixed.