Fix imports warnings

Remove unused imports and use imported classes in JavaDocs.