Fix for extend not being detected correctly.