Use the directive code to represent state.