TYPE_NODE and TYPE_CONNECTORNODE are no longer global variables,
but members of SkeletonAnnotations.