Added ways to get results from a background task.