Add Attentions class.