Removing most warnings