Added SupressWarnings in various places.