Fixed pointer that went missing in merge.
Removed old code.