Revert "Remove GetExpressionValue"

This reverts commit 755c156ff3e17078232da6326f99dc0c1206ba08.