Fixed errors caused by changes; reinstated Event constructor which does not take an isAPIEvent parameter