#74 TypeOf fixes and added support for native types