Insert plug-in definitions at the end