Simple implementation of deferred object