Add some hooking into routing