experimenting with adding schema bytes to generated code. may need to use getResource()