This is not necessary for packages that are written for 2.1++
This code is only needed for 1.2 series.