Added equal expression generation for complex types