Add header attribute to router.