Added major id as parameter.