remove handler from app (#131)

diff --git a/pkgs/shelf_router/lib/shelf_router.dart b/pkgs/shelf_router/lib/shelf_router.dart
index dcf4f7d..40b2e35 100644
--- a/pkgs/shelf_router/lib/shelf_router.dart
+++ b/pkgs/shelf_router/lib/shelf_router.dart
@@ -34,7 +34,7 @@
 ///   });
 ///
 ///   // Listen for requests on port localhost:8080
-///   await io.serve(router.handler, 'localhost', 8080);
+///   await io.serve(router, 'localhost', 8080);
 /// }
 /// ```
 ///
diff --git a/pkgs/shelf_router/lib/src/router.dart b/pkgs/shelf_router/lib/src/router.dart
index d4c6b0c..23eddab 100644
--- a/pkgs/shelf_router/lib/src/router.dart
+++ b/pkgs/shelf_router/lib/src/router.dart
@@ -71,7 +71,7 @@
 ///   return Response.ok(message.getById(msgId));
 /// });
 ///
-/// var server = await io.serve(app.handler, 'localhost', 8080);
+/// var server = await io.serve(app, 'localhost', 8080);
 /// ```
 ///
 /// If multiple routes match the same request, the handler for the first