Update classes after updating framework.
Fix bug in shema.sql