Removed not needed code.