Console lib.