Extract sample library verifier into trait, cleanup, reduce visibility of Writer members