Eliminated need for KeyValue#set to need to know the value's class explicitly.