Move implementation of deferred request to own file