Remove package objects during build