Added removeAll function for actors, changed ids to ObjectID type for performance