Support Python 3 metaclasses in the field