Added DataWriter class.