Fixed documentation deprecation issue