Moved all methods that had been attached directly to the prototype to the 'inherit' call, see #5.