ENH: generated docs handle compound formats better.