Remove deprecate schema generation code