Expose express middleware functionality