Passed extend down, Fixes #8
Merge pull request #9 from naugtur/master

Passed extend down, Fixes #8