Updated to pass plugins an API handle (plc) and the plc_config (config) in addition...