Adds generic type support for Array