Rename deferredResolve to deferResolve