Refactor model regression.