Added references back in proper places.

To quote iateyourpie, I did a dum.