Minor changes in docstrings and variable declarations