removed reference to deprecated function