Extends AbstractRepository.