Renamed model.spi to api