Convert spire typedefs to glm.