Register the component information from the route.