Removes unescessary dependency in MyEvent.java