Optimise AnnotatedType processing