Fixing up console shim.