Implemented Map polyfill and toMap IEnumerable extension.