Add support for returning clauses.