Added intersection type handling