Refactor notify URL creation. Fixes #12