Treatment of internal constraints by mixed finite element methods: Unification of concepts