Add supporting functions for strings.