Initialize plugin on plugins_loaded hook