Better string conversion for some list functions.