Implement packing for simple_storage