Refactoring about parsers.