Removed because resolve_pending doesn't exist and was getting an error.