Implemented object selection.