Remove trailing parentheses.