Improvements to console class.