I've now removed the deprecation. The reason was just that sometimes people use it when they should only be using `doc != NULL`.