Revert changes to warnings