Changed the Event Barrier to be a real event scheduler.