Added canvas support.