Use a size identification in the default array name depending on the element size. Add the array name parameter to the list of dependencies.