[IMP] Added depends.update(cls._depends) in def _build_model