allow router to handle callbacks