Refactor master actor routes.