MDL-61667 analytics: Add method to actually create a declared model