Making Writer abstract class