Fix reference to private function

Fixes #24