The chain of responsibility pattern has been added.