Added public methods to disable console