Init model.