Add configuration loading to plugin class.