Removed many warnings.