CodegenConfig class implements toInstanceVar