Adding event names to endpoints