added support for all types to RegistryFormat