Sources for generalized gauge fields