Refactorign with Prototype.