Added average_stars method and format_average_stars helper