Added support to change sink on sink inputs.