#261 added get_model helper.