Adding attach to tfs event functionality.