Add helper to get router vars