Add basic draw function.