Changes to CanvasRenderingContext2D and HTMLCanvasElement