Fix bug with defining keys before the map has been loaded.