Remove extraneous logging and test refresh code.