Fix a method name typo

Addresses issue #510.