Made route patterns optional, closes #963