Clean up

- Dependencies updated
- Old type validation methods removed. As far as I know they where never used in any of our projects. Revert the commit if I'm wrong.