Renamed completed callback to done