Extended the course class to all of the other classes and changed the methods accordingly