Fixed invoking callbacks
Merge pull request #6 from cloppy/0.7

Fixed invoking callbacks