Remove unneeded warnings