Fix wtf code merge.

Removed extra brackets from StatCollector references (PLEASE check this before PRs), replaced TContent references with TRepo as needed.