Added missing function stub.
Fixed misspelled parameter.

Fixes #287.
Merge remote-tracking branch 'upstream/master'