Allow functions like head, tail and join to work on strings.