writerfilter: Kill createAndSetParent and createAndSetParentRef.

Change-Id: Id212984b7f525e9aea2c390f181e68b5725aa20d