Cleanup parsing.