Added ElementHelper.hashCode() to ensure consistent hashCode generation as ElementHelper is also responsible for equals().