Exporting the function handling side-effects only applied to terms.