Removed warnings

Removed unnecessary import statements and added "suppress warning"
statements to warning methods.