On generalized algebraic theories and categories with families. (18th October 2021)