I like the idea of catching this at class declaration time.

Not sure what the rest of this comment means. Is it still relevant?