Add compatibility code to new router for controllers