Fixed a nasty prototypal inheritance cache bug.