Fixup action definition code