It would be better to move collector creation out of here.