A DefaultedKey returns the default value if there is no other value.
Fix a warning.
DefaultedKey delegates its existence test.
Use `hasKey` in other tests.
DefaultedKey can be used for storage.