Removes unused warnings