Added equals and hashCode to DefaultArchitecture