Removed unused SPI code