More ducumentation.
Refactored some argument names to be more descriptive.