Avoid lombok @EqualsAndHash (fails to build)

This is related to a code generation bug in Lombok.
Luckily we don't really need instances for the hash
function here