fix type in generic class (now we can compile it)
Merge branch 'master' of https://github.com/dshuplyakov/generic