Build component registry.