Added implementation for map_remove. Probably explains a lot