Updated use of Selection.