Adds a NullKey type as nullable analog to Key.