Removes self inflicted warnings