Characterizations of modalities and lex modalities.