Adds reverse() method to criteria plugins