Refactoring of parsers functions.