Generalize annotation import.