updates to codegen and SDL Parser to perform post func type cleanup