Fixed bug involving multiple inheritance.  Thanks to RChallen.