Move models into public API, update examples