Clean up SheetWriter functions