Added approute to the ratings method. Added header documentation