Implemented API changes.
Implemented selection manager changes to allow selections to be created via a command.