Extract state handling; course, enrollment models