Use LinkedHashMap to keep modules in add order.