Remove deprecated method.
Merge pull request #233 from csmith/master

Remove deprecated method.