Temporarily ensure the entities are cleaned up first.