Fix invalid var names in core event docblock