Changed call of done() to return of done() to eliminate compilation warning.