Optimized annotation lookups.