Object.equals(Object) no longer overridden with another type