Added sprite support