Here you could just call a method of the nonlinearity to get the monitoring channels. This code shouldn't need to be aware of the names of the subclasses that exist.