refactored do_not_route_options, do_not_route_head
refactored declared_params