add getSchema as a public method in Model module