Sources about "State pattern".