Add #equals and #hashCode to Annotation to simplify equality checks