Added documentation, fixed wrong format for the data in some events