Added more finegrained controll over kstat.