Generalized U(N) gauge transformations in the realm of the extended covariant Hamilton formalism of field theory