Divide collector.rb from dispatcher.rb.