Annotation comparison extended to support arrow annotations