.attachTo() inserts the method in the prototype chain.