Get rid of log() function within global top-level code.