Get rid of explicit GLOBALS reference