Clean-up ObjectWriter