added types to schema instance