Fix use of class ContaoEvents.