Copy/paste of these examples will keep their app compatible with connect middleware.