Export ParseError.

And remove a dead function.