minor: fixing deprecation notice in the docs