writerfilter: remove unused tokens in doctok

Change-Id: I6e3739143c30d1920423bd09126e9f3b35de2914