Small documentation changes and variable name changes