Added support for spriteName.