Accounting of optional parameters of routes fix #6