External variables
Add equals and hashCode to Type and ExternalVariable
External variable