Fix class loading on script _Events.groovy to compile before load it.