Add onProgress callback.