Modify packages reference.