sv: cleanup and docs