Enabled extending the API of returned promises
Merge pull request #7 from naugtur/master

Enabled extending the API of returned promises