Add Serve Method for user custom middleware.