As long as the "handlers" object is available during both phases, the `add-handler` functions should work fine during both.  (For Jetty, at least.  This may or may not be possible with other web servers if we ever implement a different one, e.g. Netty).