Add persistence for logging changes to device repositories.