Added writable classes for the key and for the value.