Seems like this should be `generate_clause` as well.