Fixes minor issues in plugins