Add repository interface.