Adding parse method to DefaultRouter.