Added Format class and implemented nameRegistries in CmnRegistry.