pass sender to callbacks and allow on_confchg callback