Updates for Lita 3.3.1 compatibility.