Optimize mock controller collector.