Parse constructors and emit code for them