Fix some pointer stuff.