Added support for multi selection.