[5.0] Events : fix formatting and docblock