Removed common warnings from TreeMap.
NOTE: I anticipate the occurence of classcastexceptions
Solved BiDirectPipeTest failure