Rewrote object inheritence to use Object.create.