Package adaptation