Event declaration in relevant class declarations