Added the ability to exclude route patterns

Updated tests

Updated doc