Revert "Merge pull request #236 from uwescience/add-cast"

This reverts commit f2acad3fde045e0c7023b5e5d543ef2d1b887649, reversing
changes made to d9aa728f353b814824c62e80876221452ae8aba9.