sprite.graphics -> sprite.graphic and similar changes for other classes