Removed import's priv on map_error