Lets use a static map, and pass this ptr to it.