Added **kwargs in _map_domain method