Temporary fix for W Casting.