Disabling Layers
There is an option for every Layer to disable the expanders for that layer. You can add it anywhere in the model and it will cascade down.
E.g. if you add noDataLayer to a Component, the Data Layer for that Component will not be expanded, not for its DataElements.
caution
For some options, adding the option will not generate compilable code and might need some additional configuration. Also, because of how the Layers interact, removing a Layer (e.g. Control) will require you to also disable other Layers (e.g. View)