Rewrote the Course.php class.