Added ParseSelection, removed ISelectionAwareMarkupHandler interface, modified structures according to new possibilities.