Use `Objects.equal` and `Objects.hashCode`