Added console support.