EXP-66. Removes the need to cast when using KVStores.

Reviewed by: Robert Chu