Minor fix for AnnotationAdapter.