Removed old php functions that I'm no longer using.