Chain of responsibility example.