Made course fetching asynchronous.