ROC-related changes are new features. #16, #17, #18, #19.