Added support for string patterns
Added definitions