Changes ESFormats to take an IOSC instance instead of creating its own temporary instance unnecessarily.