Allow customizing warnings