Lot of common model builder code