Fixed parser_error builders to take parser_error arguments rather than internal implementation.