Always ensure def and defs nodes get a non-null body.