Changing to prototypal inheritance.