Try adding Any.end.