Added support for text Type in selection commands.