make `addUrlHandler` chainable