Added fast substring search.