Cleared warnings. Removed unsed imports.