remove empty and unused function
remove the other unused typecaster
Merge pull request #2404 from gittip/rm-typecasters

Remove unused typecasters