Added course assignment functions.