Updated setAnnotations docstring.