Use methods that exist.

Fixes #145