Small change to Graphics class