(David Shore both wrote and directed the second season finale episode of House titled "No Reason" that aired on May 23, 2006. When he heard some people were theorizing that the opening scenes, with House taking a patient history himself and an unusually giddy Foreman deciding to go to the movies, were part of the dream sequence, he insisted this actually happened. His explanation revealed he could make jokes about himself. According to Shore:)
David Shore: If people thought it was strange, that was probably just because the guy directing didn't have a lot of experience.