* simplified classToKey