NEW_GEN: Minor fix of matching function names.
NEW_GEN: Fixed missing actor struct in actor function declaration.
NEW_GEN: Making sure that foreach assignments happens in correct order when generators have dependencies.