added documentation to DataWriter.