Changed declarations from private to protected on studentRegistrations & courses.