Add domain state to the examples.