Fix typo in method name.

Closes #391