Added Writer class.