Adds inputter and outputter Close methods.