Added intersection generation.