Since Swift 4.2 `Hashable` implementation should use the `hash(into hasher: inout Hasher)` method instead of `hashValue` property