Add outer keyword to span syntax