Removed unsued code.