Improve type prediction
Merge branch 'master' of https://github.com/nilproject/NiL.JS