Ensure routing functions are overridden everywhere