Hashable instance for Options.