Document listen and connect methods