Fix signature of linkAnnotation() method