As of Sphinx 2.4, the deprecated add_description_unit function has been removed. As a result, the docs no longer build when using Sphinx 2.4. Replacing add_description_unit with add_object_type corrects this.