Added some methods to disable standard outputs.