Moved fetching plugin reference to clinit