Some enhancements
Adding set_<input/output>_params