Removed unused imports and fixed syntax errors in plugins