Skeleton for Chain of responsibility pattern.