Fixed compilation (IDEA API changed).