Merge request for API mode and static routes.