Added a shim for String.contains.