Added friendly_id to documents/events.