v0.1.x: add addRoutes method