Added max warnings keys and defaults