Added a canvas class