Several KTO improvements.