add automatic descriptors to generated class source