Added typealias for progress closure and task closure