use rebless when applying metaclasses