Added VisitorResult Interface to support pretty error messages.