Removing debug code thats no longer required.