Restructured shelve object, now uses writeback mode