An express middleware for creating conditional groups of other middleware.