Let us remove the add methods and let the user specify this in the constructor. otherwise the map would need to be thread-safe