Improved encapsulation in Sprite