Added casts.