Use parameter in the function. Small documentation tweaks.

Signed-off-by: Norv <a.w.norv@gmail.com>