Implement Repository::Memory