Added isDone() method to Callback, fixing null issue.
Removed some warnings.