Added missing function stub.
Fixed misspelled parameter.

Fixes #287.