Cleaned up warnings (unused imports, functions, and variables)