Fixed the compiling writer, nice performance boost.