Changed ReplicatedMap::clear to a synchronous operation