fixed deep chaining issue with pluggable classes
Merge pull request #29 from tstmedia/chaining

fixed deep chaining issue with pluggable classes