Added .reduce() method to List and Map.