Add reranking options and skeleton functions