Add repository implementation.