Removed unused import
Commented @EqualsAndHashCode annotation cause they are causing ClassCastExceptions