Use a class member function for the 'widgets_init' hook instead of calling create_function