Add after() method to execute actions after route has completed