Add regression ranking method. Add type analysis.