Updates Map's preamble

Use of Map.prototype.remove is deprecated