Implement in memory repositories.