Changed parse to take a list of strings, instead of a string.