Clean up metatypes