Encode shared/static configuration into stamps to do the right thing when rebuilding