Added RankWindow class.