Add r3_ prefix to route struct related functions