Added setCompletion function to Event object