Add configuration and builder for main registry.