Backport 'execute' hook for router from 1.1.2