Removed unused code.
Writers can now be initialized with an IO instance where output will be written.