Removed more unnecessary warnings.