Corrections for plugin generation