Add more snippets to support ranking history model method