Added a missing name change from createX(map) to createXFromMap(map).