Read the doc comment to replace deprecated comments