Use a more specific error message for trailing commas.
Update method name.