Semantics actions for some rules.