He voiced the character Casey Jones in the animation "TMNT" (2007), based on the "Teenage Mutant Ninja Turtles" comic book series. The film was released by Warner Bros. Pictures and The Weinstein Company, to mixed reviews from critics but was a commercial success, grossing $95 million worldwide. Next, he starred in Danny Boyle's science fiction thriller "Sunshine" (2007), about a group of astronauts on a dangerous mission to reignite the dying sun. It garnered generally favorable reviews; Roger Ebert wrote the cast were "effective ... they almost all play professional astronaut/scientists, and not action-movie heroes". He also had a role in the comedy drama "The Nanny Diaries" (2007), in which he plays the love interest to Scarlett Johansson's character. His final release of 2007 was "Battle for Terra," another science fiction animation, about a peaceful alien planet which faces destruction from colonization by a displaced remainder of the human race. It premiered at the 2007 Toronto International Film Festival, followed by a wider theatrical release in 2009. Critical reception was largely mixed; review aggregator Rotten Tomatoes gave the film an approval rating of 49% based on 95 critics.