Added dialogue parsing.