Added external chat and permissions support.