def METHOD_NAME(
    self, query=None, allow_joins=True, reuse=None, summarize=False, for_save=False
):
    c = self.copy()
    c.is_summary = summarize
    for pos, arg in enumerate(c.source_expressions):
        c.source_expressions[pos] = arg.METHOD_NAME(
            query, allow_joins, reuse, summarize, for_save
        )
    return c