added a setSchema() to schemas