Fixed some typings with the chain syntax

Hey, this is my pull request. I use underscore a lot and fixed some of the chain() definitions (enough to make it work for my projects). Still more to do, but figured I'd share what I have. Thanks for your efforts!