Added extensions to Read and Write mode.
Added support for key prefixes