Added some primitive drawing functions to base classes.