Shared:  Create maps of text types early.