Fixing typo'ed function name.

Fixes #343.