Added getProgress() machinery.