Addition of Rating class.