Add managing of parentheses