Adds progress and completion handlers.