renamed ModelImpl->model_impl