NativeStat improvements