Tidyup and doctests for ToRaw.