Tools: add warning control.