#74 TypeOf fixes and added support for native types
Merge pull request #85 from zaets28rus/74_issue

#74 TypeOf fixes and added support for native types