Performance improvement: Module's dependencies are stored in an ArrayList for the sake of smaller memory footprint and iteration efficiency.