Added containsString method.