State transition framework finalized.