Added extension interface to spi.