Implement ModelRepository