Formatting changes.
Added javadocs.
Make event cancellable.
Formatting changes.
Added javadocs.
Make event cancellable.