Delete the draw function in shared unit.