Remove some unneeded WriteLine() calls