Give more informative errors for the case of unbalanced parentheses.