Cleaned up SpriteClass.