public static RestPath GetRoute(this IRequest req) { object route; req.Items.TryGetValue(Keywords.Route, out route); return route as RestPath; } }