Hide some of the global variables and remove print.