Added Array field to AllocNew constructor. Now genKernel just have to generate names for arrays.