Added drawing routines.