Fix duplicate notify declaration. Fixes #3