paper-bag fix to generated schema code