Make Canvas class reusable.