Implemented selection removalImplemented selection removal.