Move Entity interfaces into a spi (Service Providing Interfaces) package.