Set loader for each instance of plugin