Added schema to dynamic models