Added stub canvas implementation.