Pass deferred object to handler as second parameter (handler does not take dependencies, it needs to take the instance created at runtime).