Update attribute names and namespace passing in Router.patterns and Router.get_redirect_pattern