Modify writer type