Moved delete package data & cache to devices resource.