MAP: Use bool type in map.api instead of u8.