Removed global processRemoveSpot.