Fix constructor declarations in IR.