Better printing of global references