Added some documentation about events