[fix] Object::remove() does not do what it is supposed to do