Move codegen tasks to new options

@ericzundel