Removed support for map; changed closure comparison function.

The closure comparison function now only compares the parameter list and the body of the lambdas of two closures.