Defined the re-ranker interface.