writerfilter: these classes can be private

Change-Id: I838250e41a397320d965690527241d2518746141