Add collector for global statements