Adding doc to event attributes