Creates a new instance.
$key
$value
Creates a new instance using a given key and value.
key
value
The key.
The value.