Testing new directive pattern for courses sysetem, but it's not
working very well.
Fixed the new method so that now it works as expected.