remove old class declarations from package.pp