Converted internal maps back to immutable maps.