Added writerInitialized event