Cast to array for BC