Array generics fix
Merge pull request #1 from peq/master

Array generics fix