Add workaround for accessing the Annotator class