Added missing cast.