Define on class model