Fix initialization of read-only dictionary properties.