allow_warnings is deprecated