Fixes copy by value issues in expressions.