AR changed TYPE_MAP -> type_map