Fixed doc typos. Fixed unused function arg.
Merge pull request #2148 from jwarwick/behaviour_docs

Fixed doc typos. Fixed unused function arg.