Refactored dispatcher a little.
Added new ChainBehavior object.