Adding support for ratings.