Prototype setup fix (classInstance.constructor was !== Class)