Fix docstring and variable names.