Redoing the Express integration to be more forgiving of when middleware and routes are added.