* register the annotations handler only when the annotations trigger is available
mentioned in commit 523e7b3b
mentioned in commit fd1ad653