Simplify parse errors handling.