MNT: Removed the casts to arrays