public function getModel($modelId)
    {
        if (!$this->isRegistered($modelId)) {
            throw new PortableModelMissing($modelId);
        }
        return $this->getModelFromConfig($this->get($modelId));
    }