Remove unused import.
Fix a bug affecting references to properties that hold expressions in Parameters and add tests that cover it.