Fixes signature of StoredObject::remove.