Adapt samples to new Site/Sample framework with routing.