Remove unused metaclasses