Added origin type to model.