Remove unused code. Fixes Undefined variable...