wip
Close #10: Add InvalidTypeException
Merge branch 'GF-10'