Added progress logging support.