Generated methods for equals() and hashCode()
Removing dependencies
Using an array instead of a map to improve performance
Removing exception. Asuming the entry is valid.
Removing exception in test too.