removed reference to deprecated function
removed obsolete doc paragraph
typos