Tweak plugins loading API