Added has-glyph, glyph-classes, has-sprite and sprite-classes functions.