Change: set_inputs can now be called multiple times.