Fixed refs to resources.