Removing unnecessary boxing and unboxing into Expression and ExpectedResult. Using types instead :dash: