Adds support for detecting egret.