Restrict native Map detection