Replaces instantiation action hook plugins_loaded with widgets_init instead
Adds __flush_transients() method