Add mobile pages and middleware.