Make map configs more efficient and add WIP API.