Implemented a few event callbacks.
Updated javadoc link