Move map to stdlib