Remove unnecessary casts.
Merge pull request #195 from ahmedcharles/casts

Remove unnecessary casts.