Add a wrapper to the write_ioc_string function to the IOC class