Fix diagram docs.