change class to schema