Added basic selection capability to SAMDL.