Make type VCS implement Valuer and Scanner (for use with SQL)