WIP Moving some types used in dialects from "impl" to "spi"