Add sph type definition to prepare X11 integration