Simplified mixin monkey-patch of Class.extend.