Add missing closing parentheses