Cleanup implementation and validation of codegen targets

Fixes #63 
Does this render as the case object name?