why are we not able to simply add the options info to ModuleDefinitionResource?