Neuroprotective functions of prion protein