Added schema printing function