Updated mintrels to have an id and to receive the EventBarrier