Removed old geometry code.