Updated how results are returned.