Work on input/output and silence some annoying warnings