Changed events type to EventArray