Use previous contract of generatorFromSchema