Parameterise SchemaSet and SchemaLoader on schema type.
Make SchemSet a case class.