[TB] [78726180] add models method to define models

https://www.pivotaltracker.com/story/show/78726180