Make split_kwargs works with generators.
Improved classes derived from Instrument.