Added some utility functions to KeyValStorage