Support Metrics annotation on type elements