Added methods to prenotazioni_context_state, some of them moved from conflict manager.