Added warlight context to fetch rank information.