Adding sprite class.