Added 'caseSensitive' option