attachListener method docs corrected.