save class references on the prototypes