Examples for State, Strategy and Template patterns.