Fix binary instances for digests.
Merge pull request #9 from TomMD/master

Fix binary instances for digests.