Allow events without a payload, fixes #1

Conform to what the docs say and make payloads optional arguments.