Added progress function, if not null.