Add Connection class and secret agent helpers.