making configurable whether genElement is used as src for dependent
members