map is a reserved word -- use `rename_map` or something similar instead.