Added console abstraction.