Fix production error for decls in docstring