Add schemas code, second attempt.

I do for non-standard imports, but everyone knows where Seq is defined. I think importing the Scala collections class is fairly inoffensive.