Removed unused imports and trailing whitespaces.