Init extra functions to prototype.