Prep for code generation of writer