Moved all input to table model.