API polish of Document.Selection