Fixed documentation.
Renamed variable for consistency.
Documentation.