Fix a docstring and remove two trailing commas