Don't print out event-map with exception.
Add namespace doc metadata for ref helper ns
add reset-returning-prev! ref helper fn