Convert to duck typing.
Merge branch 'master' of http://github.com/Badg/phynum.py