pass around plugins internally