Merge "Introduce package state mutation APIs"