Removed unnecessary SPI code at end of file.