Removed unused imports and spelling mistakes