Removed unused SPI.
Fixed some dependencies.