Homework for Chain Of Responsibility pattern.