Annotation lookup generalization