Put some headers in widget_class.py to mark off sections for imports, class definitions, and function definitions.