Add support for rewriting calls to starts-with, ends-with, contains. Basic collation support.