[UPDATE] move methods to prototype.