Added cycle method for router.