Add missing cast