[minor] Added support for custom parsers