Enhancing Canvas class