Add reverse method for routing