Added more docstrings for send_event