Add string conversion methods and predicates.