EffectsCollector::write() refactorization