Removes package references.