Adding support for putting to unmarshalled caches