Minor simplification of the `diagrams` tool support for Prolog modules