Implemented key-value for non-object types