Removed unused defaultdict