Internal Variables and Generalized Continuum Theories