Temporary worksround for unimplemented getstats() for elementtypes other than unsigned char