Added support for regex/segment and multiple routes per action.