Removed unnecessary warnings