Added support for text type