Rewritten slightly orzolib.stat to get rid of ubiquitous value accessor function param