Migrate to routing pattern.