Added listing query method to RestRepository.