Replace revision on course_key when working with assets
Replace uses of .category