Add block based API to progress indicator for future use.