Add documentation (comments) to wait_for_event exp